package vip.mtdp.asset.core.dal.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import vip.mtdp.asset.core.dal.domain.AccountBalance;
import vip.mtdp.asset.core.dto.QueryBalancePageDTO;

import java.util.List;

/**
 * @Description
 * @Author Evans.wang
 * @since 2023/10/29 09:57
 **/
public interface AccountBalanceMapper extends BaseMapper<AccountBalance> {

    /**
     *
     * 批量新增
     * @param accountBalanceList
     * @return
     */
    int batchInsert(@Param("accountBalanceList") List<AccountBalance> accountBalanceList);

    /**
     * 分页查询
     * @param queryBalancePageDTO
     * @return
     */
    List<AccountBalance> selectByPage(@Param("queryBalancePageDTO") QueryBalancePageDTO queryBalancePageDTO);

}
